<?php namespace Home\Controller; 

use Hdphp\Controller\Controller;

//购物车结算控制器(用的是cart表)
class PayPageController extends Controller{
	private $model;
	private $uid = null;   //这里得进行私有
	public function __init(){
		$this->model = new \Common\Model\Cart;
		if(isset($_SESSION['uinfo']['uid'])){
			$this->uid = $_SESSION['uinfo']['uid'];
			// p($uid);
		}
	}

	public function index(){
		p($_SESSION);
		$address = Q('post.shen').Q('post.shi').Q('post.qu').Q('post.juti');
		p($address);
		
		$this->display();
	}
}
?>